﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RM2012Server.Business
{
    public class InvoiceInfo
    {
        private String invoiceId;
        public System.String InvoiceId
        {
            get { return invoiceId; }
            set { invoiceId = value; }
        }
        private DateTime invoiceDate;
        public System.DateTime InvoiceDate
        {
            get { return invoiceDate; }
            set { invoiceDate = value; }
        }
        private String cusId;
        public System.String CusId
        {
            get { return cusId; }
            set { cusId = value; }
        }
        private String tablesId;
        public System.String TablesId
        {
            get { return tablesId; }
            set { tablesId = value; }
        }
        private double total;
        public double Total
        {
            get { return total; }
            set { total = value; }
        }
        private double paid;
        public double Paid
        {
            get { return paid; }
            set { paid = value; }
        }
        private bool isDeleted;
        public bool IsDeleted
        {
            get { return isDeleted; }
            set { isDeleted = value; }
        }
        private bool isPaid;
        public bool IsPaid
        {
            get { return isPaid; }
            set { isPaid = value; }
        }
        private double discountPer;
        public double DiscountPer
        {
            get { return discountPer; }
            set { discountPer = value; }
        }
        private String remark;
        public System.String Remark
        {
            get { return remark; }
            set { remark = value; }
        }
        public InvoiceInfo(){}

        public InvoiceInfo(String invoiceId, DateTime invoiceDate, String cusId, String tablesId, double total, double paid, bool isDeleted, bool isPaid, double discountPer, String remark)
        {
            this.invoiceId = invoiceId;
            this.invoiceDate = invoiceDate;
            this.cusId = cusId;
            this.tablesId = tablesId;
            this.total = total;
            this.paid = paid;
            this.isDeleted = isDeleted;
            this.isPaid = isPaid;
            this.discountPer = discountPer;
            this.remark = remark;
        }
    }
}
